package com.haste.system.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author haste
 */
@Data
public class MenuVo {
    @ApiModelProperty(value = "菜单ID", example = "1")
    private String id;

    @ApiModelProperty(value = "菜单名称", example = "菜单1")
    private String name;

    @ApiModelProperty(value = "菜单类型", example = "页面")
    private String type;

    @ApiModelProperty(value = "打开方式", example = "跳转")
    private String openModel;

    @ApiModelProperty(value = "链接地址", example = "http://example.com")
    private String linkUrl;

    @ApiModelProperty(value = "图标链接地址", example = "http://example.com/icon.png")
    private String iconUrl;

    @ApiModelProperty(value = "图标类型")
    private String iconType;

    @ApiModelProperty(value = "排序号", example = "1")
    private String sort;

    @ApiModelProperty(value = "是否禁用", example = "false")
    private String disabled;

    @ApiModelProperty(value = "操作者", example = "Admin")
    private String operator;

    @ApiModelProperty(value = "祖先菜单ID", example = "0")
    private String ancestor;

    @ApiModelProperty(value = "X坐标", example = "100px")
    private String positionX;

    @ApiModelProperty(value = "Y坐标", example = "200px")
    private String positionY;
}
